from flask import Flask,render_template
app=Flask(__name__)
@app.route("/")
def index():
    return render_template("all.html")

@app.route("/hometown")
def news1():
    return render_template("hometown.html")

@app.route("/hobby")
def news2():
    return render_template("hobby.html")

@app.route("/myidol")
def news3():
    return render_template("myidol.html")

@app.route("/dream")
def news4():
    return render_template("dream.html")

@app.route("/all")
def newsx():
    return render_template("all.html")
if __name__=="__main__":
    app.run(host="0.0.0.0",port=8080)
